﻿@model IEnumerable<Capacitacion.Models.Restaurant>
<table id="SearchResults">
    <tr>
        <th>
            Name
        </th>
        <th>
            Address
        </th>
    </tr>
    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.ActionLink(item.Name, "Details", "Restaurant", new { id = item.Id }, null)
            </td>
            <td>
                @item.Address.City, @item.Address.State, @item.Address.Country
            </td>
        </tr>
    }
</table>
